In this task, you will be given a sentence or two along with a change aspect. You should change the given text in the given aspect. Aspects are explained below:
 Tense: Change the tense of the verbs in the text. If they're in past tense, change them to present, and if they're in present tense, change them to past tense.
Number: Change the number of the nouns in the given text. Make plurals into singles and single into plurals. Remember to change the corresponding pronouns accordingly.
Voice: If the verbs are in active voice, change them to be passive, otherwise, change them to be in active voice.
Adverb: add one or multiple adverbs to the text.
Gender: If the text contains female names and pronouns, substitute them with male names and pronouns. Do the same for sentences with mala names and pronouns.

Let me give you an example: sentence: Jim signaled the barman and gestured toward his empty glass . aspect: Number
The answer to this example can be: Jim and Bill signaled the barmen and gestured toward  their empty glasses .
Here is why: You have to add people names and change the pronouns if you want to change the number aspect of the sentence.

OK. solve this:
sentence: Joe paid the detective after he delivered the final report on the case . aspect: Gender
Answer:
Anne paid the detective after she delivered the final report on the case .